(WinMain): Let emacs environment default to parent.
authorJason Rumney <jasonr@gnu.org>
Sat, 10 Apr 2004 21:05:50 +0000 (21:05 +0000)
committerJason Rumney <jasonr@gnu.org>
Sat, 10 Apr 2004 21:05:50 +0000 (21:05 +0000)
nt/runemacs.c

index cdd46a6008d76de9e1b06e33ac263526429317aa..afa5340ef53803087fd801491ee3642d70be543f 100644 (file)
@@ -126,7 +126,7 @@ WinMain (HINSTANCE hSelf, HINSTANCE hPrev, LPSTR cmdline, int nShow)
   sec_attrs.bInheritHandle = FALSE;
 
   if (CreateProcess (NULL, new_cmdline, &sec_attrs, NULL, TRUE, priority_class,
-                    GetEnvironmentStrings (), NULL, &start, &child))
+                    NULL, NULL, &start, &child))
     {
       if (wait_for_child)
        {